<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>期刊管理-期刊审核</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link href="css/space.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript">
$(function(){
	$("input#pass").mouseover(function(){
		$("#form").attr("action", "perPeriodical/checkPerPeriodical?value=1&perPeriodical.perPeriodicalId=${ perPeriodical.perPeriodicalId }");
	});
	
	$("input#unpass").mouseover(function(){
		$("#form").attr("action", "perPeriodical/checkPerPeriodical?value=2&perPeriodical.perPeriodicalId=${ perPeriodical.perPeriodicalId }");
	});
});  
</script>

</head>

<body>
	<div class="all">
		<div class="bodyge-left">
			<div class="bodyge-left-a1"><span class="font-b">审核期刊</span></div>
			<form id="form" action="" method="post">
				<input type="hidden" name="perPeriodical.periodicalId" value="${ requestScope.periodical.periodicalId }" />
				<table class="ma-tab" cellpadding="0px" cellspacing="0px">
					<tr>
						<td width="150px" align="center"><img src="${ requestScope.periodical.cover }" width="133px" height="155px" /></td>
						<td>
							<table>
								<tr height="28px">
									<td>期刊名称：</td>
									<td>${ requestScope.periodical.name }</td>
								</tr>
								<tr height="28px">
									<td>类别：</td>
									<td>${ requestScope.periodical.category.name }</td>
								</tr>
								<tr height="28px">
									<td>期刊号：</td>
									<td>${ requestScope.perPeriodical.number }</td>
								</tr>
								<tr height="28px">
									<td>出版周期：</td>
									<td>${ requestScope.periodical.cycle }</td>
								</tr>
								<tr height="28px">
									<td>关键字：</td>
									<td>${ requestScope.perPeriodical.keywords }</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td colspan="2" style="padding-top:10px;">
							<table border="0px" cellspacing="0px" width="100%" cellpadding="0px">
								<tr>
									<td width="9%" style="vertical-align:top;">简介：</td>
									<td>${ requestScope.perPeriodical.introduce }</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<table>
								<c:forEach items="${ requestScope.perPeriodicalDetails }" var="perPeriodicalDetails">
								<tr>
									<td>${ perPeriodicalDetails.bname }</td>
								</tr>
								<c:forEach items="${ perPeriodicalDetails.articals }" var="articals">
								<tr>
									<td><a href="admin/articalDetialInfo?articalId=${ articals.articalId }">${ articals.title }</a></td>
									<td>${ articals.pubDate }</td>
								</tr>
								</c:forEach>
								</c:forEach>
							</table>
						</td>
					</tr>
					<tr>
						<td colspan="2" style="padding-top:10px;">
							<table border="0px" cellspacing="0px" width="100%" cellpadding="0px">
								<tr>
									<td width="9%" style="vertical-align:top;">评语：</td>
									<td><textarea rows="5" cols="60"></textarea></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td colspan="2" style="padding-top:10px;">
							<table align="center" border="0px" cellspacing="0px" width="40%">
								<tr>
									<td align="center"><input type="submit" id="pass" class="inputStyle" value="通过" /></td>
									<td align="center"><input type="submit" id="unpass" class="inputStyle" value="不通过" /></td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</body>
</html>
